/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */

package demo1008;

/**
 *
 * @author Administrator
 */
public class StudentTest {
    public static void main(String args[]){
        AgricultureStudent agicultureStudent=new AgricultureStudent();
        agicultureStudent.setId("123");
        agicultureStudent.setName("li");
        agicultureStudent.setSpeciality("agriculture");
        agicultureStudent.setBotany(90);
        System.out.println(agicultureStudent.getInfo());
        
      //  System.out.println("id="+agicultureStudent.getId()
        //                    +"name="+agicultureStudent.getName()
          //                  +"score="+agicultureStudent.getBotany());
        //System.out.println(agicultureStudent.getStudentInfo());
       // System.out.println(agicultureStudent.getAgricultureStudentInfo());
        // System.out.println(agicultureStudent.getStudentInfo());
        


    }

}
